@charset "utf-8";
@import "common";
body {
    //layaFlash
    .layaFlash {
        color: white;
        background-color: #8bc01f;
        .layaFlash-con {
            background-image: url(../img/family01.png);
            background-repeat: no-repeat;
            background-position: 100% calc(0% + 60px);
            .layaFlash-text {
                margin: 67px 0 94px;
                h2 {
                    font-size: 48px;
                    line-height: 48px;
                    margin: 0 0 22px;
                    span {
                        display: inline-block;
                        width: 55px;
                        height: 53px;
                        font-size: 40px;
                        line-height: 53px;
                        text-align: center;
                        color: #8bc01f;
                        background-color: white;
                        border-radius: 1px;
                        margin-right: 16px;
                        transition: all 1s;
                        &:hover {
                            transform: rotateZ(360deg);
                            opacity: 0.8;
                            background-color: #b20000;
                        }
                    }
                }
                p {
                    line-height: 30px;
                    margin-bottom: 18px;
                    &:first-of-type {
                        font-size: 24px;
                        font-size: 24px;
                        margin-bottom: 60px;
                    }
                }
                .lf-download {
                    width: 100px;
                    height: 34px;
                    line-height: 34px;
                    text-align: center;
                    background-color: #e8f2d2;
                    border-radius: 3px;
                    margin-left: 15px;
                    a {
                        color: #8bc01f;
                    }
                }
            }
        }
    }
    //layaPlayer
    .layaPlayer {
        color: white;
        background-color: #3393df;
        .layaPlayer-con {
//          background-image: url(../img/family02.png), url(../img/family03.png);
//          background-repeat: no-repeat,no-repeat;
//          background-position: 0% calc(0% + 138px), 100% calc(100% - 60px);
            h2 {
                font-size: 48px;
                line-height: 48px;
                margin: 75px 0 20px;
                padding-left: 15px;
                span {
                    display: inline-block;
                    width: 55px;
                    height: 53px;
                    font-size: 40px;
                    line-height: 53px;
                    text-align: center;
                    color: #3393df;
                    background-color: white;
                    border-radius: 1px;
                    margin-right: 16px;
                    transition: all 1s;
                    &:hover {
                        transform: rotateZ(360deg);
                        opacity: 0.8;
                        background-color: #b20000;
                    }
                }
            }
            .layaPlayer-img-left{
                
            }
            .layaPlayer-text {
                margin-bottom: 126px;
                h3{
                    font-size: 24px;
                    font-size: 24px;
                    margin: 28px 0 8px;
                }
                p {
                    line-height: 30px;
                    margin: 0;
                }
            }
            .layaPlayer-img-right{
                padding-top: 143px;
            }
        }
    }
    //laya-familys
    .laya-familys{
        padding-bottom: 80px;
        .laya-familys-list{
            .laya-familys-item{
                &:first-of-type{
                    padding-left: 23px;
                }
                h2 {
                    font-size: 42px;
                    line-height: 42px;
                    color: #3393DF;
                    margin: 90px 0 20px;
                    span {
                        display: inline-block;
                        font-size: 36px;
                        width: 40px;
                        height: 40px;
                        line-height: 40px;
                        text-align: center;
                        color: white;
                        background-color: #3393DF;
                        border-radius: 1px;
                        margin-right: 10px;
                        vertical-align: bottom;
                        transition: all 1s;
                        &:hover {
                            transform: rotateZ(360deg);
                            opacity: 0.8;
                            background-color: #b20000;
                        }
                    }
                }
                P{
                    height: 50px;
                    line-height: 25px;
                    color: #5d5d5d;
                    text-indent: 2em;
                    margin: 10px 0 25px;
                    &:first-of-type{
                        font-size: 18px;
                        text-indent: 0;
                    }
                }
                span{
                    font-size: 18px;
                    line-height: 18px;
                    color: #3393DF;
                }
                .laya-item-img{
                    text-align: center;
                    margin: 10px 0 0;
                    width: 30%;
                    margin: 0 auto;
                }
            }
        }
    }
    .fam-gray{
        background-color: #F7F7F7;
    }
}
//适配小屏幕（手机）
@media (max-width: 768px){ 
    //layaFlash
    body .layaFlash .layaFlash-con {
        background-image: none;
        animation-name: bounceInUp;
        .fl-dh{
            animation-name: bounceInUp; 
            .layaFlash-text {
                animation-name: bounceInUp;
                margin: 30px 0 30px;
                h2 {
                    font-size: 25px;
                    line-height: 25px;
                    margin: 0 0 20px;
                    span {
                        width: 28px;
                        height: 28px;
                        font-size: 20px;
                        line-height: 28px;
                        margin-right: 8px;
                    }
                }
                p {
                    line-height: 28px;
                    margin-bottom: 12px;
                    &:first-of-type {
                         font-size: 18px;
                         font-size: 18px;
                         margin-bottom: 30px;
                    }
                }
                .lf-download {
                     margin: 0 auto;
                }
            }
        }
    }
    
    //layaPlayer
    body .layaPlayer .layaPlayer-con {
        h2 {
            font-size: 25px;
            line-height: 25px;
            margin: 30px 0 30px;
            span {
                width: 28px;
                height: 28px;
                font-size: 20px;
                line-height: 28px;
                margin-right: 8px;
            }
        }
        .layaPlayer-text {
            margin-bottom: 30px;
            h3 {
                font-size: 18px;
                font-size: 18px;
                margin: 20px 0 30px;
            }
            p {
                line-height: 28px;
            }
        }
        .imgWrap img {
            max-width: 100%;
            width: 50%;
        }
        .layaPlayer-img-right {
            display: flex;
            justify-content: flex-end;
            padding-top: 0; 
            margin-bottom: 30px;
        }
        
    }
    
    //laya-familys
    body .laya-familys {
        padding-bottom: 30px;
        .laya-familys-list {
            .laya-familys-item{
                animation-name: bounceInUp;
                h2 {
                    font-size: 25px;
                    line-height: 25px;
                    margin: 30px 0 20px;
                    span {
                        width: 28px;
                        height: 28px;
                        font-size: 20px;
                        line-height: 28px;
                        margin-right: 8px;
                    }
                }
                P {
                    margin: 10px 0 20px;
                    &:first-of-type {
                        font-size: 16px;
                    }
                }
                .imgWrap img {
                    max-width: 100%;
                    width: 60%;
                    margin: 0 auto;
                }
            }
        }
    }
}

//适配中屏幕（iPad）
@media (min-width: 768px) and (max-width: 992px){
    //layaFlash
    body .layaFlash .layaFlash-con {
        background-image: url(../img/family01.png);
        background-repeat: no-repeat;
        background-size: 50%;
        background-position: 100% calc(0% + 120px);
        animation-name: bounceInRight;
        .fl-dh{
            animation-name: bounceInLeft; 
            .layaFlash-text {
                animation-name: bounceInLeft;
                margin: 45px 0 45px;
                h2 {
                    font-size: 35px;
                    line-height: 35px;
                    margin: 0 0 30px;
                    span {
                        width: 40px;
                        height: 40px;
                        font-size: 30px;
                        line-height: 40px;
                        margin-right: 12px;
                    }
                }
                p {
                    line-height: 30px;
                    margin-bottom: 18px;
                    &:first-of-type {
                        font-size: 20px;
                        font-size: 20px;
                        margin-bottom: 45px;
                    }
                }
                .lf-download {
                    margin-left: 15px;
                }
            }
        }
    }
    
    //layaPlayer
    body .layaPlayer .layaPlayer-con{
        .imgWrap img {
            max-width: 100%;
            width: 100%;
            margin: 0 auto;
        }
        .layaPlayer-img-right {
            padding-top: 250px; 
            margin: 0;
        }
        h2 {
            font-size: 35px;
            line-height: 35px;
            margin: 45px 0 45px;
            span {
                width: 40px;
                height: 40px;
                font-size: 30px;
                line-height: 40px;
                margin-right: 12px;
            }
        }
        .layaPlayer-text {
            margin-bottom: 60px;
            h3 {
                font-size: 20px;
                font-size: 20px;
                margin: 30px 0 30px;
            }
            p {
                line-height: 30px;
            }
        }
    }
    
    //laya-familys
    body .laya-familys {
        padding-bottom: 45px;
        .laya-familys-list{
            .laya-familys-item {
                h2 {
                    font-size: 35px;
                    line-height: 35px;
                    margin: 45px 0 30px;
                    span {
                        width: 40px;
                        height: 40px;
                        font-size: 30px;
                        line-height: 40px;
                        margin-right: 10px;
                    }
                }
                P {
                    margin: 20px 0 30px;
                    &:first-of-type {
                        font-size: 18px;
                    }
                }
            }
            .imgWrap img {
                max-width: 100%;
                width: 80%;
                margin: 0 auto;
            }
        } 
    }
}